package com.fy.card.mapper;

import com.fy.card.entity.Card;

import java.util.List;

/**
* @author flying
* @description 针对表【card(名片表)】的数据库操作Mapper
* @createDate 2022-05-16 16:43:09
* @Entity com.fy.card.entity.Card
*/
public interface CardMapper {

    int deleteByPrimaryKey(Integer id);

    //普通添加
    int insert(Card record);

    //动态添加
    int insertSelective(Card record);

    Card selectByPrimaryKey(Integer id);

    //  动态更新
    int updateByPrimaryKeySelective(Card record);

    // 普通更新
    int updateByPrimaryKey(Card record);

    //查询全部
    List<Card> selectAll();

    List<Card> selectByIds(List<String> idList);
}
